def comm_assert(res, status_code, success, code, message):
    assert status_code == res.status_code
    assert success is res.json().get("success")
    assert code == res.json().get("code")
    assert message in res.json().get("message")
